#!/bin/bash
disk_usage=$( df -h | grep /$ |awk '{print $5}'|sed 's/%//')

if (( disk_usage >= 80 ))
then

    echo '' > /opt/application/api.log
fi
